// 登录接口
import httpInstance from '@/utils/http'
// 类型声明
import { type loginType } from '@/apis/model/loginModel'
// 根据账号密码登录
export const getLoginApi = (data: { username: string; password: string }) =>
  httpInstance.post<any, loginType>('/user/login', data)
